import { Button } from 'antd'
import { TaskOaHeader } from '@/style/TaskOa'
const Header = (props) => {
	const { showModal } = props
	return (
		<TaskOaHeader>
			<h1>TASK OA 任务管理系统</h1>
			<Button type="primary" onClick={showModal}>
				新增任务
			</Button>
		</TaskOaHeader>
	)
}

export default Header
